Merge.hs: cleanup: use Data.Map.Strict instead of hand-made list scanner

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