Hopf-type bifurcation in the presence of multiple critical eigenvalues