(Bank of American didn't accept it)
The bank should have exchanged it for you. Most banks take damaged money and send it back to the bureau of Printing and Engraving. Try excanging it at another bank. Or just spend it.
Take it back to your bank & they'll exchange it..
Otherwise you should be able to just spend it. Most everyone will take slightly damaged bills.
Make a louder s it came out of ATM that way, they probably have standards to are supposed to not make that possible. It should be legal enough currency, just keep trying to spend it at stores.
Why do you need exchange it. If only a small portion is torn off, you can use it anywhere.