Partial fix for bug #12407 (https://gna.org/bugs/index.php?12407).
This catches the "TypeError: unsupported operand type(s) for *: 'float' and 'NoneType'" error. If
the local or global tm is missing for some reason, the eliminate function returns False indicating
that the model has not been eliminated.