Shellvars: handle case statements with same-line ;; tokens

Fixes RHBZ#1033799