Following an uptick in terrorist violence along its western border, Pakistan’s caretaker government issued an ultimatum to approximately 1.7 million Afghans living in the country illegally: leave before Nov. 1 or face deportation.