Policymakers have been taken by surprise by the persistence of high inflation, now that the initial spike triggered by a combination of supply chain disruptions and Russia’s invasion of Ukraine has passed.