In the administration of any trust that is a private foundation or that is a charitable trust, there shall be distributed, for the purposes specified in the trust instrument, for each taxable year, amounts at least sufficient to avoid liability for the tax imposed by § 4942(a) of the Internal Revenue Code of 1954 (26 U.S.C. § 4942(a)).