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