Merge.hs: speedup calculation of dependency-irrelevant flags

Before building full tree of depends for optimisation
first remove flags, that are of form:
    forall flag-context.
        foo?  ( A B C D )
        !foo? ( A B C D )

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