Pakistan overcame a deficit of 421 but South Africa’s target of 58 was little more than a formality