A second consecutive poor performance with the bat saw South Africa undo their significantly improved showing with the ball to go 2-0 down in the series against Sri Lanka