J&J agrees to pay $230M to settle New York opioid claim