Core: Fix 12 defects in Ref, Map, RealView, IndexedView, CwiseUnaryView, seq() and reshaped()

libeigen/eigen!3639

Closes #3259, #3265, #3277, #3293, #3300, #3307, #3308, #3378, #3386, #3387, #3388, and #3390

Co-authored-by: Rasmus Munk Larsen <rmlarsen@gmail.com>
17 files changed