correct end offset calculation when startSymbol == endSymbol
(cherry picked from commit 3169828)
r=ulitin
ignore // interpolation start/end
#WEB-12149 fixed
(cherry picked from commit 960b678)
r=ulitin