[dv/pwrmgr] Cleanup sequence side-effects in post_apply_reset
[dv/pwrmgr] Cleanup sequence side-effects in post_apply_reset

The reset sequences need to leave a healthy configuration even
when killed by an external reset. Adds undo actions in the base
post_apply_reset task.

Signed-off-by: Guillermo Maturana <085716c7110d3f31793f7d964c2e5fd26da1c550@google.com>

lowRISC/opentitan,lowRISC/opentitan,lowRISC/opentitan,lowRISC/opentitan,lowRISC/opentitan,lowRISC/opentitan