Icardi hat-trick leads Inter to dramatic victory over rivals AC Milan