fix($compile): Detect when a directive `compile` removes `tElement`

Delect when a directive `compile` function removes `tElement` and keep on with the compilation from the following node

Closes #9198
Also, the increment expression doesn't make a lot of sense. This means that we potentially aren't incrementing, no?