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