Splitting the degeneracy of harmonically-bound identical spinless bosons: General derivation