Mr. Musharraf resigned last week following a series of carefully orchestrated no-confidence votes in parliament .