Spin-parity analysis of the low-mass 3π system in the reaction π+p → π+π+π−p at 13.1 GeV/c