By a 5-4 vote, the Supreme Court rejected the Trump administration's attempt to rebuke a federal judge who had imposed a deadline for the release of $2 billion in foreign aid.