On singularities of spectral curves and SCFTs of class S