The effect of many-body interactions on the electrostatic force on a finite chain of spheres confined in a long charged tube