Just for the purpose of being legally unambiguous here, I would suggest some kind of resolution with this amendment making it clear what happens with shutting down the ministry and the dismissal of the minister. (e.g. The minister being dismissed immediately after its passage vs serving out the remainder of the term.)
Best not to have a defunct ministry floating around in a legally ambiguous state for the rest of the term if we can avoid it.