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