3M agrees to pay $6 billion to settle earplug lawsuits from US service members