Frequency stabilization and noise-induced spectral narrowing in resonators with zero dispersion