Israel's parliament has advanced a controversial bill that would impose the death penalty on Palestinian militants convicted of killing Israeli citizens.