Design flaws in Boeing’s 737 MAX forced LOT to ground the aircraft for two years.