Langlands survived being kidnapped by armed tribesmen, was on first name terms with two of the country's military dictators and by some counts educated half of Pakistan's government