Remove trailing blank lines