[MNG-4789] [regression] Difference in compile scope dependency resolution [MNG-4800] Conflict resolution does not pick sub tree of nearest dependency if farther conflicting dependency has wider scope