An Extension of the Euler‐Maclaurin Summation Formula to Functions with a Branch Singularity