Simpler implementation for &REST in DEFUN

I used Array.prototype.slice instead of iterating over arguments.