Does bankruptcy remove all buildings based on when their construction started or finished?
Solution 1:
You'll have to wait another 5 years once the manufactory is complete.
Bankruptcy kills off all buildings being constructed/upgraded or have been constructed/upgraded in the last 5 years as you mentioned in your post.
Source: 1k+ hours of EU4