Legislation would end death penalty in Illinois