The legal battle between Rhode Island’s Congregation Jeshuat Israel and New York’s Shearith Israel has been settled