Supreme Court rules against Trump administration in foreign aid case