The large extent of dark matter haloes probed by the formation of tidal dwarf galaxies