Complete next-to-next-to-leading order calculation of NN → NNπ in chiral effective field theory