docs(cookbook/adv_forms): simplify example

Pass the `$index` directly to the `removeContact` function, instead of
searching for it in an expensive forEach loop.

Closes #4320