[PDI-11857] Unregister validation observer when directive is destroyed