Fix Enumerable#slice_before arg handling

Emulate packEnumArgs in the slice_before definition in enumerable.rb to ensure its arg handling behavior matches MRI.

Addresses the slice_before part of #901.