Correction to: Nature https://doi.org/10.1038/s41586-025-08813-6 Published online 2 April 2025

In the version of this article originally published, there were errors in the Fig. 3e,h,k,n and Extended Data Fig. 7b–e x-axis labels, where the text now reading “(after – before)/before (%)” originally read “(before – after)/before (%).” The figures are updated in the HTML and PDF versions of the article.