I think , Mushraf had Guts to Protect Pakistan, and he had good intentions for pakistan progress which we may be cannot see right now but would have seen in future. Mushraf took pakistan out from this situation in 11 sept when situation was far more serious. We call it good Hikmat-e-Amli , It was already decided by USA that PPP will have new Govt , closed the deal and pushed Mushraf out and full filled his promise, now PPP is full filling his promise.
I believe any civilian leader would have done very similar i.e. sided with US, so I don't believe it was genius of Musharraf to side with US and buy some time for Pakistan.