Pakistan v South Africa, 1st Test, Dubai, 5th day