Fix for issue #2416. DSS did not update the wrapper types; now it does.
This caused modules with structs to not be usable at all as the wrapper types were not updated appropriately. Now, we make sure that we have a consistent state after DSS ensuring adequate FUNDEF_WRAPPERTYPES.