“The threat, submitted as a cluster of budget amendments, would withhold the $2.4 million the Boston Public Library expects to receive from the state next year. If the amendments pass, the city, in order to receive the funding, would have to keep open all its 26 library branches in some capacity, regardless of staffing levels, layoffs, or hours of operation.”