Exact solution of the isotropic majority-vote model on complete graphs