RI: R.I. economy hangs on Mass. gambling decision, study shows