Fix Comments.remove_last_whitespace_line

It removed more lines than it should have in some cases because of weird
behavior of String#split (e.g. |"abc\n\n".split("\n") == ["abc"]|).