Bid to ban death penalty rejected