solver: Store pointers inside marker_vars
solver: Store pointers inside marker_vars

The variables inside marker_vars are going to be owned by something
else; we are also very inconsistent when it comes to adding reference.

ebassi/emeus,ebassi/emeus,ebassi/emeus