Allegri: 'Juve deserved it'