I.M.F. Says Inflation Fight Is Largely Over but Warns of New Threats