After months of negotiations, a bipartisan group of eight senators is poised to offer a sweeping bill to rewrite the nation's immigration laws this week, taking advantage of a changed political alignment that, for the first time in nearly a generation, appears to have opened the way for comprehensive legislation.