Pakistan to appeal ruling allowing Musharraf to leave country: lawyer