The 2023 rally for stocks in the U.S. accelerated as more investors bought the idea that the Federal Reserve succeeded in its effort to bring inflation to heel.