When ETOPS rules were relaxed, four-engined planes fell out of favor, ultimately leading to the demise of the niche Airbus A340-500.