fix pointer tagging bug in removeIndirections (fixes stableptr003)