2) Cut a side deal with one or more of the parties in the coalition government and derail the efforts to restore the judiciary-- PPP would be the most likely to indulge in that
3) Refuse to allow the restoration of the judiciary and dissolve the newly-elected Parliament citing that he is "looking out for the best interest of the state"
If the President were to resign, the new Chief of Army Staff-- Gen. Kayani would have two choices:
1) Declare himself President and continue with business as usual
2) Proclaim that the Army was leaving politics and let the Senate decide the new president and Pakistan would return to the road of democracy