fix Issue 12956 - [ICE] Assertion in expression.c:432

Signed-off-by: Martin Krejcirik <mk@krej.cz>