A partial-wave analysis of the pp system produced at low four-momentum transfer in the reaction πpppn at 18 GeV