Fixes #1684. cached resolution applies overrides on conflict

#1684

This change brings over dependency overrides to artificial graph.
However, it seems forced might win, so I need to take overrides logic
in account during conflict resolution.