If the tax imposed by section
2101, or any estate, succession, legacy, or inheritance taxes, are, either by the terms of the will, by the law of the jurisdiction under which the estate is administered, or by the law of the jurisdiction imposing the particular tax, payable in whole or in part out of the bequests, legacies, or devises otherwise deductible under this paragraph, then the amount deductible under this paragraph shall be the amount of such bequests, legacies, or devises reduced by the amount of such taxes.