Shares acquired by a corporation under AS 10.06.578 and 10.06.580 shall be held and disposed of by the corporation as other shares reacquired under AS 10.06.388, except that, in the case of a merger or consolidation, they shall be held and disposed of as the plan of merger or consolidation may otherwise provide.