R.I. wants to quash lawsuit on funding