Allegri key to Milan revival