Make vtkCleanPolyData work with polylines again
Polylines were being indiscriminantly filtered out by vtkCleanPolyData. Fixed that, and handle degenerate polylines.
Updated test to exercise the restored functionality.
Fixes bug introduced in a3498cc3.
Backport: release