(Reuters) – Bank of America Corp agreed to pay a $12.5 million fine to settle U.S. regulatory charges that its Merrill Lynch brokerage unit’s controls failed to prevent erroneous trading orders, causing “mini-flash crashes” in companies’ shares.