S Ravi replaces Aleem Dar for 4th India-South Africa ODI