A resident estate or resident trust shall be allowed the credit provided under § 1111 of this title for resident individuals, except that references in that section to resident individuals shall for purposes of this section be deemed to refer to a resident estate or resident trust.