Potentially trillions of dollars in federal grants, loans and other aid faced possible suspension by the White House order, but a federal judge halted the order shortly before it was to take effect Tuesday afternoon