Bank of America to restate earnings

Restatement results in $345 million gain