Ten board members of the charitable trust that controls US confectioner Hershey Foods are to leave the board following the controversial failed attempt to sell the company.