Investigation of exchange mechanisms in the reaction π+p→pπ+π0 at 4 GeV/c