Rising technology stocks helped U.S. indexes recover more of their holiday-season slide that bridged the new year.