Merge.hs: fix insane memory growth when merging many similar depends

Growth is nicely seen in git-annex ebuild.

Signed-off-by: Sergei Trofimovich <slyfox@gentoo.org>