Dow says it will pay $835 million to settle a class-action case, after Scalia’s death decreased its chances of winning