Passage of law sparked angry scenes in both houses of parliament, with one lawmaker likening it to anti-Jewish legislation by the Nazis in 1930s Germany