Remove spaces from empty lines