The Trump administration retreated from its attempt to freeze trillions of dollars allocated by Congress, including grants, loans and financial assistance, after triggering a national uproar and a rap on the knuckles from a federal judge who partially blocked the potentially unconstitutional edict before it could take effect.