South Africa's Zuma Resigns to Avoid No-Confidence Vote