Issue 8269 - The 'with statement' does not observe temporary object lifetime

Do not create a temporary with a dtor inside an expression.

https://issues.dlang.org/show_bug.cgi?id=8269