doctrine of finality — Legal Definition, Examples & Cases