Simplify sparse matrix (remove unused assignment)