[ruby-core:127458] [Ruby Bug#22505] UnboundMethod#{bind,bind_call} results in incorrect behavior when method owner is at multiple places in ancestry