U.S. Dollar gains ground as oil tests $90, driving safe-haven flows