How Trump and his allies lost the public debate over immigration