It's even possible to detach notes in one voice of a double stop while continuing a note in the other voice, using a rocking movement of the bow. Cf the Andante in Bach's solo violin sonata 2 with repeated detached notes in the lower voice while a sustained note is sometimes held explicitly in the upper voice. However, that kind of technique tends to be reserved to solo violin performances as it takes a lot of practice. However, the passage you quote is trivial in thirdfirst position with regard to double stops. You should not expect the tricky detached technique Bach calls for in something intended for a trio, so you should place a slur over the eighths regardless of whether the piano version has them.