Rep. Laura Gillen, a first-term Democrat from New York, said she was “proud” to back a bipartisan answer on immigration.