Airbus and Qatar Airways have settled their legal dispute over the Airbus A350 meaning reinstated orders and repair of 22 grounded aircraft.