South Africa cannot afford a government so pleased by Trump’s setback that it mistakes it for the resolution of its difficulties.