The reactions π±p→pπ±π+π− at 18.5 GeV/c