patch applied (cabal-install): Add new utils, duplicates, duplicatesBy and mergeBy