Catch and handle empty contours in closed_contours_next_from_offsets
Add support for contours with only one circle, filtering to catch degenerate arcs in input, and additional unit tests