Obviously we are on PDF and Pakistanis love to pick on India, but the truth is that we didn't ditch India because of China. We ditched them because they couldn't deliver what they had promised to do and they weren't importing enough goods from us. So, they had become quite useless for us and it was a good time to ditch them.
In the past, we have done the same with the Chinese too. In fact more than once. The Chinese were put aside from the South Pars project during Ahmadinejad's presidency after they had become too slow in fear of possible US sanctions. They were also ditched from the new Tehran-North expressway project after they didn't deliver their promises in a reasonable amount of time.
I read in Indian newspapers that Chabahar can reduce logistic costs by 20% for India. This means that putting them aside will make logistic costs for them 25% more expensive. Honestly I think they more than earned it and it should've been done earlier.