Allegri ready to replace Conte at Inter