[EIGEN] simplified "type.h" with back-compatibility file