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