makeDisconnected(startIndex, endIndex) {
		return createSegments(
			this,
			startIndex,
			endIndex,
			CodePathSegment.newDisconnected,
		);
	}
Creates new segments in this context and does not append them to the end
 of the already existing `CodePathSegment`s specified by `startIndex` and
`endIndex`. The `startIndex` and `endIndex` are only used to determine if
the new segments should be reachable. If any of the segments in this range
are reachable then the new segments are also reachable; otherwise, the new
segments are unreachable.
@param {number} startIndex The index of the first segment in the context
     that should be considered for reachability.
@param {number} endIndex The index of the last segment in the context
     that should be considered for reachability.
@returns {Array<CodePathSegment>} An array of the newly created segments.