Core: Clean up moved elements when reallocation throws

libeigen/eigen!3420

6 files changed