Allegri: 'Milan defend to attack'