On the vacuum structure of type II string compactifications on Calabi–Yau spaces with H-fluxes