gpu-runnable fix
Fix an inconsistency between the expression pointed to by a graph vertex and the expression retrieved from the factory. When the expression in equation is a placeholder expression, the factory will return the original "true" expression while the vertex will point to the placeholder expression. When running on CPU with a GPU build, this could lead to problems with host/device memory locations.