Don't delete newline inappropriately

This fixes the case where a line has only two semicolons and no
following space. In this case the previous behavior was to delete the
following newline. Now it leaves it alone.
Delete separator lines and extra blank lines

Some headers have separator lines that are just long lines of only
semicolons. This deletes those. It also replaces consecutive blank
comment lines with just one.