Replace setpos('.', pos) calls with s:setcursor(pos)

setpos() does not set curswant, which leads to unexpected behaviour when
moving up and down after ( and ) movements.

s:setcursor() simply calls cursor(), which does what we always intended.