Bayer has agreed to a $2 billion class action settlement — its second attempt to resolve future lawsuits over Monsanto's Roundup pesticide.