Merge.hs: simplified code redundancy at variable extracting code

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