Multiple pole residue approach for 3D BEM analysis of mathematical degenerate and non‐degenerate materials