Statistics for Singularity of the magnetic-field integral equation and its extraction