Remove slow index check in Tensor::resize from release mode.
This change also gets rid of pre-C++11 code guarded by EIGEN_EMULATE_CXX11_META_H, and changes static const to static constexpr in a few places.
This change also gets rid of pre-C++11 code guarded by EIGEN_EMULATE_CXX11_META_H, and changes static const to static constexpr in a few places.