US stocks end choppy day on muted note as traders weigh war impact