A taxpayer who is a shareholder in a bank, as defined in Section 581 of the IRC, having a valid federal election under Subchapter S, is allowed a tax credit that equals the difference between: (i) the taxpayer's tax as computed pursuant to this chapter, including all credits other than the credit allowed pursuant to this section; and (ii) the tax as computed pursuant to this chapter, including all