Retab and remove trailing whitespace