Portage/Dependency.hs: add 'remove_duplicates' pass to remove simplest redundancy

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