endpoint: Set the identity cache revision only when successful
endpoint: Set the identity cache revision only when successful

Set the identity cache revision at which the policy computation
started only after it is known that the policy computation has been
successful. Otherwise we could skip the next policy computation due to
the identity cache revision already being set even though the last
policy computation failed.

Fixes: #7958
Signed-off-by: Jarno Rajahalme <0f1ab0ac7dffd9db21aa539af2fd4bb04abc3ad4@covalent.io>

michi-covalent/cilium,cilium/cilium,cilium-team/cilium,cilium/cilium,tgraf/cilium,tgraf/cilium,cilium-team/cilium,michi-covalent/cilium,tgraf/cilium,tgraf/cilium,michi-covalent/cilium,michi-covalent/cilium,tklauser/cilium,cilium/cilium,tklauser/cilium,tklauser/cilium,tklauser/cilium,tgraf/cilium,cilium/cilium,cilium/cilium,michi-covalent/cilium,tgraf/cilium,tklauser/cilium