SU(N) Transitions in M-Theory on Calabi–Yau Fourfolds and Background Fluxes