The judge’s ruling in the case is the first in the fight over the order to end birthright citizenship’s constitutionality.