After almost 600 booksellers withdrew 3.5m books from the secondhand marketplace in support of countries dropped by the website, it apologises for a ‘bad decision’