OTTAWA—Julie Payette resigned Thursday as Canada’s governor general, saying that to protect the integrity of her office and for the good of the country it was time for her to go. Payette joins a very short list of governors general who have left the post early and is the first to do so mired in controversy. Her decision to leave will have both political and practical consequences for the minority Liberal government. Payette, 57, handed in her resignation ahead of the imminent release of results of an independent investigation into allegations of a toxic workplace at Rideau Hall, over which she has presided since being appointed in 2017. Intergovernmental Affairs Minister Dominic LeBlanc presides over the Privy Council Office, which requested the investigation. He said the government received the report late last week. “The conclusions were compelling and they were stark,” LeBlanc said in an interview. “It was obviously an …