Issue 9976 - more compile time algorithms implementation used deep recursion

http://d.puremagic.com/issues/show_bug.cgi?id=9976

Reduce instantiation depth in staticMap, allSatisfy, anySatisfy, and Filter.