RG flows with supersymmetry enhancement and geometric engineering