No head of state has ever served a full term in country but Khan is first to lose office in this way