Books-A-Million abandons bid to buy 30 Borders stores