Fix incorrect use of ret() in handleFailureWithHandlerTail().

Fixes a reduced version of generators/closing-osr.js.