Republicans and Democrats  many of them from the nations most economically depressed states  had been trying to reach a solution that would allow people who have exhausted their unemployment insurance to continue receiving benefits as long as the government offset the $6 billion cost.