fix($animate): ensure former nodes are fully cleaned up when a follow-up structural animation takes place

Closes #4435
fix($animate): use direct DOM comparison when checking for $rootElement

Closes #4679