Speed up ensureScheduled

This is on the critical path if there are lots of compound bindings in iterated template.

R=arv
BUG=

Review URL: https://codereview.appspot.com/11077043