Improve IIFE creation logic.
Improve IIFE creation logic.

Don't create an IIFE, if our catcher is a JS_FUNCTION, because
it means, that immediately after compiling a catcher we will
wrap things with some kind of a function, so semantics will
remain.

opal/opal,opal/opal,opal/opal,opal/opal