Pakistan has ordered all unauthorised Afghan asylum seekers - an estimated 1.7 million people - to leave the country by November.