Allegri: 'Milan deserved this'