Improved support for parameter destructuring w/ rest. Fixes gh-1818