When partially initializing a global, exception-handling code in the frontend emits a placeholder %invoke.cont block with no terminator. This commit adds a suitable BranchInst to the block to prevent "malformed BasicBlock" errors.
A test case is included.
Note: I have been struggling to understand why throwing an error in a destructor causes exception-handling code to be generated when invoking the constructor [esp. when the constructor does not throw anything]. This patch is meant as a workaround until the 'real' issue can be addressed.