Remove trailing blank lines.