"Justices kept a provision allowing police to check a person???s status during a separate violation if they suspect the person is an illegal immigrant." . . . .