Enforceability of credit risk mitigation techniques in the context of bank insolvency and resolution