Allegri: 'Milan were too hasty'