Projection operator in the multiconfiguration Dirac-Fock method