Fix the usage of EIGEN_STATIC_ASSERT_SAME_MATRIX_SIZE

  - Eigen::internal::traits is not specialized for Eigen::MatrixBase, it
  should only be used with the Derived types. Just as Eigen's own tests
  do.

Bug: 34161771
Test: mm
Change-Id: I997b26b4a470c4ba851afe6edc5c602ae450c222
2 files changed