[BZ-1092502] fix multi-line statements using mvel dialect
(cherry picked from commit 1d854c50173f4ab0f8a67645ef6fead42ec87d5e)