Improve implementation of :replace, :replace-resolvers, :replace-factories metadata on :arg-resolvers (option or metadata)

Provide documentation of the behavior