code: function reduceIncludes(includes) {
  	return includes.reduce((res, el) => {
  		if (
  			!res.length ||
  			!res[res.length - 1].actualNode.contains(el.actualNode)
  		) {
  			res.push(el);
  		}
  		return res;
  	}, []);
  }
docs: reduces the includes list to only the outermost includes
  @param {Array} the array of include nodes
  @return {Array} the modified array of nodes