(5)Where the gross total income of an assessee includes any income arising from the transfer of a long-term capital asset, the gross total income shall be reduced by such income and the deduction under Chapter VIII shall be allowed as if the gross total income as so reduced were the gross total income of the assessee.