Fix for Oracle IN predicate

Large lists for IN condition (more than 1000 items) are split into parts like this:

X IN (1, 2, 3, 4) OR X IN (5,6,7,8)

Also, the expression is wrapped with brackets if there are more than one part.
http://www.rsdn.ru/forum/prj.rfd/5086490.flat