HC asks police to give details of steps taken to clear illegal immigrants