Eight Boeing 787 Dreamliners were grounded after a potentially unsafe combination of two issues stemming from production errors was discovered.