The Indian PM at that time was popular enough in India to make a political compromise.Yes. A golden opportunity was missed to have a workable peace with India. By 2008, the 'Judges Movement' in Pakistan, the Lal Masjid spawned violence, and indeed TTP originated terrorism in Pakistan had made Musharraf as 'the Bunker President'. He was physically attacked by, among others, some Kashmir factions for making compromises with India over Kashmir. He HAD to leave power in 2008, giving it to some form of civilian rule, and PPP was the only choice available. Pakistan has never tolerated its dictators for more than 10 odd years!
Ironically, MMS was born in today's Pakistan while Musharraf was born in Delhi. While watching interviews from Musharraf, I see that he had a good personal opinion about MMS. I don't think that many Indian politicians can claim that