It is strange that you are blaming Pant. Actually he did much better than the other batsmen. Scored a total of 101 runs from three matches and let's not forget the fact that he is the keeper as well. Rohit would have made a difference? I don't know, because Shikhar Dhawan was also in good touch as the opener (169 runs from 3 matches). KL Rahul failed, both as a captain and as a batsman. It was the bowlers who failed - especially Bhuvneshwar Kumar, Shardul Thakur and Ravichandran Ashwin.
Pant under-performed in my opinion and Rohit would have definitely made a difference. He could have replaced Rahul as both the captain and as a batsman.
Also, Thakur single-handedly decimated the South African batsmen in one of the tests while Ashwin shouldn't be blamed since the pitches aren't spin friendly and he didn't concede too many runs.
I have to say that in my opinion, Rohit is a better captain in comparison to Kohli or Rahul. Because of Virat, I think that he wins by his own performance, not because of crazy good captaincy. But Rohit is a better captain and makes better decisions.
I disagree. Rohit hasn't proven himself as a better captain when compared to Kohli at the international level yet though he has proven himself as a better captain in the IPL.