patch applied (cabal): Add PackageIndex.insert and reverse merge/mappend