Use undefined as trigger for default value for destructuring

Previously we used an in check which is no longer the semantics
of ES6.

Fixes #1013