Amazon wins multimillion dollar transfer-pricing dispute with IRS