President Donald Trump made a startling last-minute pitch Wednesday for a far-reaching Republican immigration bill that was on track for defeat, just days after telling House lawmakers to stop wasting their time on the effort until after the November elections.