The city’s pension fund for its police officers and firefighters is near collapse and seeking an immense bailout.