Guys let me put it out there that I am an Indian but I am a Marxist Leninist first and foremost and it is only the CPC that I abide by. I understand the frustration over the compromise as I am unhappy too. But I would like to draw some attention to Mao's "on contradictions". Even though i am a Dengist, the chairman did write some extremely good theory that is still relevant for today's China. This is a principled compromise which in my understanding will only help China in the long term. Yes, it is difficult to trust India, I understand that fully. But a completely hostile India is much more dangerous for China in the long run. No matter how far behind India is in terms of overall social development, it still is a huge market with a big population with sizable disposable income. The middle to upper middle class in India alone is larger than many major European countries combined. So building any trust process that helps to not completely cutoff that market is important for Chinese industry when it faces a shrinking market in the west.
Secondly, I am fully sympathetic to Pakistan, but let's face reality. Pakistan is not a counter to India by any means. Unless the Pakistani economy starts competing with India in any reasonable way (which I really don't see happening), all military comparisons are pointless. The way China thinks (or rather doesn't) about India, is exactly how India treats Pakistan these days. So it is better to let go of those illusions and deal with the India question directly, which I think the CPC is doing.