In any case in which a partnership is liquidated before the end of the period to which paragraph (1)(B) applies, any deferred expenses attributable to the partnership which were not allowed as a deduction by reason of this section may be deducted to the extent allowable under section
165.