Australia's Jewish community has made a rare break with Israel after the nation made a new "discriminatory" death penalty law for Palestinians.