Eigenvalue Degeneracy as a Possible ``Mathematical Mechanism'' for Phase Transitions