Clean up `type_map` at the end of test_respond_to_for_non_selected_element
Clean up `type_map` at the end of test_respond_to_for_non_selected_element

`test_only_reload_type_map_once_for_every_unknown_type` expects no
one already registers unknown OID to `type_map`. However,
`test_respond_to_for_non_selected_element` registers it and does not clean up it.

Addresses #29331 at unlock-minitest branch

untidy-hair/rails,jeremy/rails,rails/rails,kddeisz/rails,eileencodes/rails,pvalena/rails,alecspopa/rails,alecspopa/rails,iainbeeston/rails,eileencodes/rails,starknx/rails,illacceptanything/illacceptanything,mathieujobin/reduced-rails-for-travis,gfvcastro/rails,mohitnatoo/rails,yawboakye/rails,esparta/rails,assain/rails,tgxworld/rails,rails/rails,aditya-kapoor/rails,deraru/rails,bogdanvlviv/rails,georgeclaghorn/rails,pvalena/rails,illacceptanything/illacceptanything,flanger001/rails,utilum/rails,Erol/rails,bogdanvlviv/rails,prathamesh-sonpatki/rails,schuetzm/rails,brchristian/rails,notapatch/rails,yasslab/railsguides.jp,kamipo/rails,travisofthenorth/rails,esparta/rails,kddeisz/rails,Edouard-chin/rails,arunagw/rails,kirs/rails-1,joonyou/rails,rails/rails,eileencodes/rails,yawboakye/rails,jeremy/rails,Stellenticket/rails,georgeclaghorn/rails,yasslab/railsguides.jp,yhirano55/rails,Sen-Zhang/rails,tgxworld/rails,gfvcastro/rails,mathieujobin/reduced-rails-for-travis,tgxworld/rails,EmmaB/rails-1,Vasfed/rails,MSP-Greg/rails,illacceptanything/illacceptanything,rails/rails,illacceptanything/illacceptanything,kamipo/rails,mohitnatoo/rails,starknx/rails,printercu/rails,yahonda/rails,kaspth/rails,yawboakye/rails,rafaelfranca/omg-rails,lcreid/rails,repinel/rails,gauravtiwari/rails,BlakeWilliams/rails,prathamesh-sonpatki/rails,deraru/rails,vipulnsward/rails,ledestin/rails,betesh/rails,kmayer/rails,mechanicles/rails,notapatch/rails,kmayer/rails,mohitnatoo/rails,bogdanvlviv/rails,Erol/rails,kddeisz/rails,rafaelfranca/omg-rails,arunagw/rails,yahonda/rails,shioyama/rails,tjschuck/rails,yasslab/railsguides.jp,Stellenticket/rails,georgeclaghorn/rails,illacceptanything/illacceptanything,joonyou/rails,assain/rails,travisofthenorth/rails,kirs/rails-1,fabianoleittes/rails,flanger001/rails,betesh/rails,deraru/rails,repinel/rails,lcreid/rails,Envek/rails,deraru/rails,gcourtemanche/rails,felipecvo/rails,yasslab/railsguides.jp,shioyama/rails,jeremy/rails,shioyama/rails,printercu/rails,vipulnsward/rails,untidy-hair/rails,baerjam/rails,Edouard-chin/rails,fabianoleittes/rails,aditya-kapoor/rails,Stellenticket/rails,joonyou/rails,illacceptanything/illacceptanything,mechanicles/rails,alecspopa/rails,repinel/rails,MSP-Greg/rails,assain/rails,baerjam/rails,untidy-hair/rails,palkan/rails,notapatch/rails,baerjam/rails,yahonda/rails,kmcphillips/rails,iainbeeston/rails,fabianoleittes/rails,georgeclaghorn/rails,gauravtiwari/rails,Erol/rails,BlakeWilliams/rails,gcourtemanche/rails,yalab/rails,notapatch/rails,gauravtiwari/rails,mechanicles/rails,yalab/rails,EmmaB/rails-1,travisofthenorth/rails,mathieujobin/reduced-rails-for-travis,travisofthenorth/rails,Sen-Zhang/rails,palkan/rails,Envek/rails,illacceptanything/illacceptanything,kirs/rails-1,Envek/rails,pvalena/rails,bogdanvlviv/rails,palkan/rails,lcreid/rails,Stellenticket/rails,illacceptanything/illacceptanything,odedniv/rails,utilum/rails,iainbeeston/rails,utilum/rails,pvalena/rails,illacceptanything/illacceptanything,eileencodes/rails,aditya-kapoor/rails,illacceptanything/illacceptanything,felipecvo/rails,Edouard-chin/rails,Vasfed/rails,tjschuck/rails,ledestin/rails,felipecvo/rails,kmcphillips/rails,esparta/rails,illacceptanything/illacceptanything,kmcphillips/rails,starknx/rails,assain/rails,mechanicles/rails,utilum/rails,illacceptanything/illacceptanything,esparta/rails,flanger001/rails,odedniv/rails,prathamesh-sonpatki/rails,arunagw/rails,BlakeWilliams/rails,gfvcastro/rails,fabianoleittes/rails,betesh/rails,kaspth/rails,printercu/rails,flanger001/rails,yahonda/rails,odedniv/rails,ledestin/rails,yhirano55/rails,lcreid/rails,Edouard-chin/rails,kmayer/rails,yhirano55/rails,repinel/rails,kamipo/rails,untidy-hair/rails,printercu/rails,Vasfed/rails,joonyou/rails,betesh/rails,schuetzm/rails,iainbeeston/rails,MSP-Greg/rails,illacceptanything/illacceptanything,kmcphillips/rails,BlakeWilliams/rails,prathamesh-sonpatki/rails,tgxworld/rails,tjschuck/rails,baerjam/rails,shioyama/rails,gcourtemanche/rails,tjschuck/rails,mohitnatoo/rails,gfvcastro/rails,yhirano55/rails,yawboakye/rails,arunagw/rails,kaspth/rails,Sen-Zhang/rails,schuetzm/rails,brchristian/rails,Erol/rails,rafaelfranca/omg-rails,brchristian/rails,vipulnsward/rails,EmmaB/rails-1,aditya-kapoor/rails,jeremy/rails,illacceptanything/illacceptanything,kddeisz/rails,yalab/rails,illacceptanything/illacceptanything,Envek/rails,vipulnsward/rails,schuetzm/rails,Vasfed/rails,yalab/rails,MSP-Greg/rails,palkan/rails