expandtemplate: reset id map for each file
expandtemplate: reset id map for each file

Last commit removed an explicit clear for instance expansion; with that gone
it is obvious that no expansions should propagate between files.

pabigot/bsp430,pabigot/bsp430,pabigot/bsp430,pabigot/bsp430