Issue 10194. Variant does not call struct destructors.

https://issues.dlang.org/show_bug.cgi?id=10194