The U.S. and European Union said they have formalized a deal aimed at rebalancing their trade relationship.