A model-independent analysis of final-state interactions in B¯d/s0→J/ψππ$$ {\overline{B}}_{d/s}^0\to J/\psi \pi \pi $$