A measurement of the S- and P-wave content of antiproton annihilation at rest into two pions in liquid deuterium