Allegri 'played into Napoli's hands'