Allegri: Milan must beat Genoa