Musharraf has teh backing of ultimate power braokers in Washington. They support him with arms and billions of dollars. Supreme court CJ and other independent minded justices like Justine Rana Baghwan Das had to go becuase Musharraf and US considers them as nuisnace and inconvenient.
Only way Nusharraf will go if the chain of command breaks down in Pakistan army. There is no other way Mush will go.