Fix Style/SlicingWithRange offences

What does this MR do and why?

It enables Style/SlicingWithRange Rubocop rule that encourages using endless range for slicing instead of specifying -1

https://www.rubydoc.info/gems/rubocop/RuboCop/Cop/Style/SlicingWithRange

Merge request reports

Loading