Categorical equivalence of algebras with a majority term