Fixes #8405 - Filter :interfaces_attributes when calculating templates_used

This *might* also affect the Host.new in #process_taxonomy too, but I've not tested that.