A contract extension would shore up the competitiveness of West Coast ports for Asian imports, which face a new challenge from the larger locks of the Panama Canal.