The World Trade Organization gave the European Union permission to tax up to $4 billion of American products annually in return for subsidies given to Boeing.