Portage/Dependency.hs: added basic simplification passes

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