Boundary-level compactness check. Apply to a whole polygon’s outer
boundary (single part, or the union boundary of a multipart polygon).
NOT intended for individual parts of a multipart polygon — that would be
stricter than on-chain and reject legitimate decompositions.