A judge rejected a lawsuit against a GOP ballot referral that would make it a state crime for migrants to cross the southern border and empower local police officers to arrest them, clearing the past for it to go before voters in November.