Move ForeachStatement::inferAggregate into a free function
Move ForeachStatement::inferApplyArgTypes into a free function
Merge pull request #3296 from yebblies/opover

[DDMD] [refactor] Move ForeachStatement methods in opover.c into free functions