Karnataka HC flags lapses, orders release of foreigners