By STEPHEN OHLEMACHER Lawmakers have agreed on legislation to extend expanded unemployment benefits for the long-term unemployed through the end of the year. Laid off workers would also continue to get subsidies to buy health insurance through the COBRA program.House and Senate leaders announced the deal Thursday morning on a bill that would also extend, for a year, about 50 popular tax cuts that expired at the end of last year.Lawmakers had been negotiating a provision that would spare doctors from a scheduled 21 percent cut in Medicare payments.