Pakistani officials have set a deadline to expel foreign nationals living illegally in the country.