Measurement of diffractive 3π production on a polarized target at 17 GeV/c