Updated ConstantRegisterRemovePass from void to net.sf.ir.Void and also fixed the problem with reading attribute values