refactor(ngAnimate): remove unneeded comparison

It was supposed to be removed in 22358cf9c703d67f3cf9eb4899404b09578a5fad, but was not.