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