hangAfterStartingIndexBuildUnlocked is currently used to hang an index build on a secondary until shutdown in a couple JS tests. This works when run on a [repl-index-builder-X] thread because the process exits on shutdown and those threads stop being scheduled. The IndexBuildsCoordinator, however, will wait for threads to finish on shutdown, so this behavior will hang shutdown once we move builds onto the Coordinator.
So instead of hanging until shutdown, we will add a failpoint that will cleanly interrupt the index build without cleaning up its persisted memory, just like clean shutdown does normally when an active index build throws InterruptedAtShutdown.