CORE-1945: Expand variables in sql format preconditions

Execute expandExpressions on the formattedSql precondition sql-check line before adding the precondation to the changeset