Self-Boost via Optimal Retraining: An Analysis via Approximate Message Passing