The DOGE cost-cutting effort at the Treasury, USAID, and OPM is alienating potential allies and drawing legal flack.