PROVIDENCE — The new school funding formula passed by the General Assembly last year has been hailed by educators, public officials and parents as a vast improvement in the way Rhode Island pays for its public schools. But at least two local communities claim it is inadequate to the point of being unconstitutional because it shortchanges poorer school districts.