U.S. states are racing to meet a deadline to commit to a $26 billion opioid settlement with three drug distributors and the drugmaker Johnson & Johnson, as some grapple with local resistance and concerns the amount isn’t big enough to address the damage done by an epidemic…