U.S. District Court Judge John Coughenour’s ruling in the case brought by Washington and three other states is the first in what is sure to be a long legal fight over the order’s constitutionality.