Treasury chief Rachel Reeves said the U.K. government is planning for every contingency, and would not repeat the mistakes of 2022 and 2023.