Diffractive production of pπ− systems on nuclei between 8 and 24 GeV/c