Add support for ResetFailed/ResetFailedUnit.

This is intended to be used in gear clean.