US dockworker strike averted