simplify_indexed() recognizes linear combinations of matrices with numeric