Virginia governor to sign legislation ending death penalty