\texttt{ReMind}: Understanding Deductive Code Reasoning in LLMs