Fixes #1057: Allow catch/finally in single line functions.

* Don't end single-line functions at `catch` or `finally`.
* Remove unused `IMPLICIT_BLOCK` and superfluous test for `IF`.
Merge pull request #2930 from marchaefner/Issue1057

Fixes #1057: Allow catch/finally in single line functions.