Clean up partially built index if building fails.