Fix a bug with ring rotation.

The previous fix #36, 2154e6a, inadvertantly rotated any self-intersecting arc,
rather than only rotating rings.