Cape Town city manager Ebrahim tenders resignation