Fix unitialized var usage in Bokeh.index

Pointed out on the mailing list, trivially incorrect code using uninitialized view.