Perhaps the precise sentence makes things unclear. The argument is that in both cases it is not the rationality of the decision that leads to the payoff but some other factor.
In the chewing gum problem, that other factor is genetic. In Newcomb's problem, that other factor is about agent type or decision theory.
Does the proponent of CDT think this cannot be unlearned? Not necessarily. However, they think that by the time you're faced with the box, it's too late to usefully do so because it's not your decision that's being considered but rather your prior agent type. If you're not yet faced with the box, then the proponent of CDT would say that you should unlearn two-boxing. But, as noted in the section, this is not to say that they think two-boxing is an irrational decision: if people are sometimes rewarded not for their decision but for their agent type then it shouldn't be surprising that it might be rational to follow a decision theory that sometimes endorses irrational decisions (because the reward for the type outweighs the reward for the decision). But this says something about the rationality of agent types, not decisions (according to the proponent of CDT, which is the view that is being represented here).
Interesting. I didn't fully realize that people tend to identify with a way of thinking enough to consciously go into losing even when a winning move is obvious to them.
With much help from crazy88, I'm still developing my Decision Theory FAQ. Here's the current section on Decision Theory and "Winning". I feel pretty uncertain about it, so I'm posting it here for feedback. (In the FAQ, CDT and EDT and TDT and Newcomblike problems have already been explained.)