Fix an error in `MultilineIfThen` cop that occurs in some special cases.

* there's a when...then inside the body of an if
* there's a commented-out then after an if
* then is on its own line
Merge pull request #230 from jonas054/fix_multiline_if_then

Fix an error in MultilineIfThen cop that occurs in some special cases.