codeintel: Convert FAILED state to ERRORED
Created by: efritz
This preserves existing behavior for https://github.com/sourcegraph/sourcegraph/pull/16355.
Created by: efritz
This preserves existing behavior for https://github.com/sourcegraph/sourcegraph/pull/16355.