Allegri grateful for Milan draw