Population Dynamics in the Iterated Prisoner Dilemma with Prior Commitment