Small Jewish community existed in Mantua up till the 18th century; agreement comes after years of dispute between local officials and an ultra-Orthodox Jewish group