Stricter asylum laws narrowly steered through House of Representatives after chaotic debate and uncertainty over legal consequences.