Well, the Medium rules seem to keep changing, so I'm not sure what the rules were. The rules seem to have been updated even since I recently wrote about about being temporarily banned from Medium.
https://help.medium.com/hc/en-us/articles/213477928
About duplicate content, it just says this: "We do not allow posting duplicate copies of the same content to Medium, whether from a single account or across multiple accounts, either publicly or as an unlisted story. (You are allowed to cross-post content from your blog to Medium, provided you own the rights for the content.)"
I would assume that once the original story has been deleted, it's okay to republish it in a publication, as the content is not live on the site in more than one version at a time. But I'm adding my own interpretation there. It's not explicitly made clear.