Fix a bug in R.skip

Calling `R.skip(n, list)` for `n >= list.length` would result in an error being thrown. Instead,
this commit causes an empty array to be returned.