Republican breaks with Trump over immigration crackdown ahead of US midterms