A bill seeking to abolish the death penalty in Nigeria has passed its second reading in the House of Representatives.