Remove trailing whitespaces in emtpy lines