mat: remove ineffectual assignments
mat: remove ineffectual assignments

Identified by github.com/gordonklaus/ineffassign.

$ ineffassign .
.../gonum.org/v1/gonum/mat/product_test.go:118:4: ineffectual assignment to a

gonum/gonum,gonum/gonum,gonum/gonum