Fix CDB_QueryStatements with multi-line dollar-quoting

CDB-1902 #resolve