Integration matters more than border control for long-term social cohesion