Boeing’s 787 Dreamliner has become popular among airlines around the world since its 2011 debut. But investigations both inside and outside the company in recent years have uncovered a number of production flaws and prevented Boeing from delivering new Dreamliner jets for nearly two years.