Fix crash tensor.roll(Var, iscalar) reported by Jeremiah Lowin.