Johannesburg mayor resigns amid concerns with his party