split_exprs() can deal with more complicated index expressions

Should fix #98