The decision marked the administration’s second legal setback on Tuesday, after the Supreme Court declined to allow Trump to deploy National Guard troops in Chicago.