(b) Limitation.--The credit under this section shall not reduce the tax otherwise due from the beneficiary under this local law to an amount less than would have been due if the accumulation distribution or his part thereof were excluded from his city adjusted gross income.