fix slice_before on empty enumerable

This fixes an issue where calling slice_before on an empty enumerable
would return an enumerable containing one element of nil
Merge pull request #822 from statianzo/slice_before-fix

fix slice_before on empty enumerable
Missing parens for ripper
fix #823
Merge pull request #824 from sclasen/sclasen-fix-823

fix #823