Accounting firm Ernst & Young will pay $9.3 million to settle charges that two of its former auditors got "too close to clients on a personal level."