Entanglement of solitons in the Frenkel-Kontorova model