A judge has blocked a Texas law that would allow police to arrest migrants who illegally enter the US