A Sufficient Statistic for Influence in Structured Multiagent Environments