doctrine of entrapment — Legal Definition, Examples & Cases