Arthur T. Demoulas was fired by a board controlled by his cousin and chief rival, Arthur S. Demoulas.