Some cleanup and a forced error.

There's not a clean way to free the idx_poly_t structs
held inside the vertex nodes, or the other way around
due to all the cross linking.

There should probably be a helper to clean the structure
sanely.