Star Alliance carrier TAP Air Portugal has retired its final Airbus A340 as part of the transition to a long-haul fleet comprising only Airbus A321LRs and A330neos.