A judge sided with a coalition of 22 states and temporarily blocked a federal aid funding freeze directed by the White House — the second such order this week.