Removes an enclosing tag and promotes its children.