Analysis of a degenerate Hopf bifurcation in a PID controlled CSTR