WASHINGTON — A sweeping immigration bill that a bipartisan group of eight senators completed on Tuesday seeks not only to fix chronic problems in the system and bring an estimated 11 million illegal immigrants to the right side of the law. It would also reorient future immigration with the goal of bringing foreigners to the country based increasingly on the job skills and personal assets they can offer.