After SERVER-76935 kExternalAborted index build state indicates that the caller is responsible for the abort. Still, there are some left over places where we could remove use of IndexBuildAborted.
Maybe we could even just pass the default Interrupted error code in killOp
Original description:
We use IndexBuildAborted to signal to the index builder thread that "the caller is taking responsibility for aborting this index build, do not cleanup". Instead, we should use the ReplIndexBuildState we already pass around and store this information on that structure, rather than using a special error code.