U.S. stock benchmarks edged lower to start the new year after investors closed out 2022 with punishing losses.