The big French bank also agrees to sign so-called deferred prosecution agreements with the Justice Department and the Manhattan district attorney’s office.