Pacific Rim trade ministers failed to clinch a deal on Friday to free up trade between a dozen nations after a dispute flared up over auto trade between Japan and North America, New Zealand dug in over dairy trade and no agreement was reached on monopoly periods for next-generation drugs. Trade ministers from the 12 nations negotiating the Trans-Pacific Partnership, which would stretch from Japan to Chile and cover 40 percent of the world economy, fell just short of a deal at talks on the Hawaiian island of Maui but were confident an agreement was within reach.