patch applied (cabal-branches/cabal-install-0.8): Cope with intra-package deps when constructing install plans