fix a bug when solve with store inst

Signed-off-by: xiehuc <xiehuc@gmail.com>