Resolver was not correctly calculating reexported packages, nor handling uses constraints from reexported packages properly. (FELIX-3059)