House passes bill to give Dreamers and other undocumented immigrants a path to citizenship, over G.O.P. opposition.