The city council said it could not extend the contract of Imogen Mashazi, who is reaching retirement age, by two years