squash npe
fix #518, typing for spread tuples, and fix bugs with tuple index exprs