South Africa's Ramaphosa badly weakened by ANC election slum