Optimize processing of Links table
Optimize processing of Links table

Avoid doing multiple update queries
on the same sentence id.

Refs #2387.

Tatoeba/tatoeba2,Tatoeba/tatoeba2,Tatoeba/tatoeba2,Tatoeba/tatoeba2,Tatoeba/tatoeba2