A federal district judge dismissed a Texas law Thursday that would have made it a state crime to enter illegally. In effect, Senate Bill 4 was a bid by the state to take over immigration enforcement from the federal government — which Texas officials argued in court has allowed or even facilitated an “invasion” of…