A judge gave the Trump administration a 36-hour deadline to unfreeze foreign aid, saying it could not show it was complying with a prior court order.