THE BRONX - Mayor Michael Bloomberg and City Council Speaker Christine Quinn reached an agreement last night to restore $300 million to next year's budget, saving some firehouses and services in the borough. Negotiations are still being held to determine exactly how the money will be spent and which firehouses in the Bronx will stay open. Dozens of rallies were held to protest the planned shutdowns, including at Engine 96, Ladder 54 in Soundview. The funds are also expected to help keep some Bronx senior centers open, but the mayor's office says it is still not yet known which centers will avoid being closed. Due to the increase in funds, there will no longer be teacher layoffs, but 2,000 jobs will be lost through attrition. The city's libraries will also only be open five days a week now instead of six. The city's fiscal year begins on July 1.