Fixes #97. No longer attempting to reject a resolved promise within `when`.

Please see discussion in #97.