[SPARK-4401] [SQL] RuleExecutor should log trace correct iteration num

RuleExecutor should log trace correct iteration num