more importantly--
if you try to assign "it" in these constructions, there may be negative effects on your judgment of all other pronouns!
normal pronouns aren't allowed to stand for "to + verb".
if you assign the "it" in this sentence to "to+verb", you may make the mistake of thinking that other pronouns can do the same thing.