PM terms undocumented foreigners ‘security risk’ for Pakistan