Remove trailing spaces on empty lines