Make Element.remove() idempotent.

Removes exceptions that were formerly thrown.