Bifurcation of critical sets and relaxation oscillations in singular fast-slow systems