South Africa scrambles to resolve diplomatic stand-off with US