[ruby-core:112606] [Ruby master Bug#18572] Performance regression when invoking refined methods