Defer to using #slice over [N..Nx] ranges until ruby motion memory leak is fixed

This pull request is a simple change that use #slice over range slicing until ranges are not leaked by RubyMotion.