A major writers' festival is in damage control as it apologises for dumping a Palestinian-Australian author in a move that triggered a mass boycott.