An explosion last May at a Foxconn factory in Chengdu, China, killed four people and injured 18. It built iPads.