Electric dipole moment constraints on phases in the constrained MSSM