Maine school board forced to pay parent $40,000