Partial fix for #13761.

https://issues.dlang.org/show_bug.cgi?id=13761
What if `t2` is `null` and `t1->Tty` is not `TYdouble`?  It previously wouldn't crash, but now it will assert.