The immigration deal would overhaul American border policy by restricting access to the asylum system during spikes in illegal immigration.