Lawmakers back bipartisan border measure to extend Title 42