fix($animate): ensure structural animations skip all child animations even if no animation is present during compile

Closes #3215