The two largest parties in South Africa’s coalition government signaled progress in their efforts to resolve an impasse over the nation’s budget. The rand rallied.