Configuration interaction in rare-earth ions. I. Three particle correlation in Pr2+