Dollar gains, shares rise as Omicron fears subside