Analysis and resolution of the ground-state degeneracy of the two-component Bose-Hubbard model