Couple more tweaks to the minimizeInlineTags code.

* Do not cross template boundaries or block tag boundaries
  when building linear paths of nodes.

* Last cleanup for now on this old code.
  TODO: Deal with HTML attr comparison.

* Will revisit this code after working on a simplified pass
  for bold-italic tags.

Change-Id: Ie39022a34a1b718cab4be326926891740ae02c9d