Dual boundary element analysis of wave scattering from singularities