Missed deadlines lead the city to lose millions in federal housing funds