Judge upholds Trump’s use of military force