Gazans in Khan Younis have voiced dismay over a new Israeli law introducing the death penalty for Palestinians convicted of lethal attacks.