range.deleteContents: remove empty parents.