On the eve of retrial of a case that produced the largest auditing malpractice verdict ever, BDO USA has agreed to a confidential settlement with Banco Espirito Santo, which had accused BDO of negligent audits of its affiliate E.S. Bankest.