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