Refactor: libcrmcommon: define separate function to clear resource failure with attrd
attrd_update_delegate() was becoming overloaded with non-update functionality.
Since failure clearing takes entirely different arguments, it's better to use
a separate function.