doctrine of necessaries — Legal Definition, Examples & Cases