[ruby-core:127414] [Ruby Feature#22536] Add Enumerable#longest_slice to return the range of the longest consecutive matching sequence