Fix misc issues with non-generated-code fault handlers

We had a few issues preventing the use of FaultHandler with
non-generated code. The first was we would only call these handlers in
generated code. The second is that we would segfault if we tried to
remove any of them due to an typo'd iterator name.

Added a test that this all works.

Test: ./test.py --host -j50
Bug: 72064989
Change-Id: I0d4d5235ac7c1c165a4a14dfbda72ef7060772f3
6 files changed