A six-year extension to the master contract for workers at East Coast and Gulf Coast ports has been approved in a move that should ease labour disruptions and pressure on global supply chains.