Fox has announced the cancellation of Brooklyn Nine-Nine, its Andy Samberg-led sitcom about a precinct of goofy detectives who still manage…