Buffalo school board spent more than $100,000 in legal fees