SC won’t give legitimacy to military rule: Musharraf