Brown University says it reached deal with US government to restore federal funding