Replace zero(T) with 0 in sparse matrix code.