Days after South Africa’s electricity minister questioned the benefits of a $10 billion climate-finance pact between the country and some of the world’s richest nations, Germany lauded its success.