Fixed case where stores of values were traced in dependency analysis.

Now only stores where pointer is stored are traced.