residue of z^2 / ((z-2)^2 (cos z - 1)^3) at z=2pi