Large-scale retraining programs can successfully mitigate AI-driven job displacement