fix(ngClass): handle index changes when an item is unshifted

Closes #7256