`throw(e)` on a closed generator should throw `e`. Github issue #1025.

According to 6 and 7 of https://people.mozilla.org/~jorendorff/es6-draft.html#sec-generator.prototype.throw, calling the `throw` method on a closed generator should throw the error passed in, not a new error.

Fixes #1025.

Depends on #1006.