Court Backs Musharraf's Plan to Hold Power