Cabal should use the minimum version that satisfies the dependencies, not the maximum