make_curve_mesh: remove extra vertex for closed curves
Before, the function was constructing a mesh that had an extra vertex when the curve was closed. This was inconcistent with the group's `vertex_indices`.
Before, the function was constructing a mesh that had an extra vertex when the curve was closed. This was inconcistent with the group's `vertex_indices`.