trk_interp can now handle the rare case where streamlines have repeated vertices

Previously this would cause an error in spline(). Now the duplicates are removed prior to calling spline().