Part of the problem is that there wasn't enough supply of the inactivated vaccine, and arguably there still isn't and probably won't be for some time. See for example
https://academic.oup.com/jid/article/220/10/1545/5432103 Also, while the inactivated vaccine protects receipients from the risks associated with polio infection, unlike the oral vaccine it may not be all that effective at preventing it from replicating in their bowel and then infecting others.
I'm not exactly sure why the WHO rushed to pull type 2 from the oral vaccine before there was sufficient supply of the inactivated vaccine to replace it, but I get the impression that they didn't expect it would be necessary because they thought that type 2 virus would rapidly disappear once they did so.