Johannesburg mayor Herman Mashaba announced his resignation from the DA and his job as mayor