DERBY-6211: Don't instantiate new optimizers just to create empty CostEstimate objects; commit derby-6211-10-aa-makingCostEstimateObject.diff.

git-svn-id: https://svn.apache.org/repos/asf/db/derby/code/trunk@1509671 13f79535-47bb-0310-9956-ffa450edef68