Amnesty for illegal foreigners in Pakistan to end on Dec 31