TDynamicMeshOverlay::InternalSetTriangle

Updates the triangles array and optionally the element reference counts