The sixth and final leaf now contains 4 portal references, none of which lead into the interior of the inner box
I can see one remaining problem: two of my portals contain 5 polygons, where there should be 4.
Furthermore, there appears to be a pair of quads with the same geometry (actually they differ by 0.00000002).
I need to look into that.