Musharraf allowed to leave Pakistan