move local_constant_tracker to a header for reuse
simplify_instructions does no constant folding anymore
fix copy in simplify_instructions