Bipartisan bill tackles immigration