Clean up paritally built index if building fails.