The strike, the first by East and Gulf Coast dockworkers since 1977, had shut down 14 ports since Tuesday.