NY settles with Bank of America and ex-CEO