Sorting out the Dreamliner’s lithium-ion nightmare.