DRILL-4331: Fix TestFlattenPlanning.testFlattenPlanningAvoidUnnecessaryProject test for Java8
Test TestFlattenPlanning.testFlattenPlanningAvoidUnnecessaryProject fails with Java8
because of Map order differences between Java7 and Java8. Test now checks for both
options.
Closes #351