Avoid observing placeholder arrays in TemplateIterator and minimize instance removal/addition

R=arv
BUG=

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