Make intersection formulae work in XSSF. Patch from Matt Hillsdon plus additional tests. https://bz.apache.org/bugzilla/show_bug.cgi?id=52111