Simplify the removeIfLast. This soon will disappear.
Simplify the removeIfLast. This soon will disappear.

In the past we used that routine as sanity check whether we are reverting in
the correct order. Now we have store/compare state.

Moreover this is wrong because the the template specializations create a mess
in the order, because the pattern is being added to the context but not the
underlying declarations. This breaks the logic of the visitor as it needs to have
two completely different code paths for templates and the rest of the decls only
because we wanted to keep this logic.

Now is a lot simpler. Remove the decl if it was in the context, without providing
any sanity checks what so ever.

olifre/root,thomaskeck/root,satyarth934/root,arch1tect0r/root,pspe/root,davidlt/root,mhuwiler/rootauto,abhinavmoudgil95/root,mkret2/root,vukasinmilosevic/root,krafczyk/root,omazapa/root,veprbl/root,thomaskeck/root,root-mirror/root,gbitzes/root,sawenzel/root,mhuwiler/rootauto,omazapa/root,esakellari/my_root_for_test,nilqed/root,zzxuanyuan/root,georgtroska/root,thomaskeck/root,nilqed/root,esakellari/root,mattkretz/root,esakellari/my_root_for_test,sbinet/cxx-root,smarinac/root,davidlt/root,esakellari/my_root_for_test,BerserkerTroll/root,satyarth934/root,jrtomps/root,smarinac/root,olifre/root,olifre/root,root-mirror/root,gganis/root,mhuwiler/rootauto,krafczyk/root,mattkretz/root,mattkretz/root,karies/root,davidlt/root,thomaskeck/root,agarciamontoro/root,CristinaCristescu/root,omazapa/root-old,gganis/root,georgtroska/root,BerserkerTroll/root,Y--/root,CristinaCristescu/root,buuck/root,satyarth934/root,zzxuanyuan/root-compressor-dummy,beniz/root,sawenzel/root,sirinath/root,BerserkerTroll/root,olifre/root,arch1tect0r/root,CristinaCristescu/root,veprbl/root,sbinet/cxx-root,buuck/root,dfunke/root,arch1tect0r/root,sbinet/cxx-root,Duraznos/root,0x0all/ROOT,agarciamontoro/root,Y--/root,zzxuanyuan/root,krafczyk/root,olifre/root,sirinath/root,dfunke/root,nilqed/root,Y--/root,bbockelm/root,karies/root,perovic/root,root-mirror/root,omazapa/root,evgeny-boger/root,perovic/root,omazapa/root,Y--/root,thomaskeck/root,simonpf/root,evgeny-boger/root,georgtroska/root,sbinet/cxx-root,satyarth934/root,davidlt/root,Y--/root,georgtroska/root,0x0all/ROOT,abhinavmoudgil95/root,satyarth934/root,krafczyk/root,perovic/root,abhinavmoudgil95/root,CristinaCristescu/root,beniz/root,georgtroska/root,esakellari/root,evgeny-boger/root,agarciamontoro/root,mattkretz/root,smarinac/root,karies/root,nilqed/root,vukasinmilosevic/root,pspe/root,0x0all/ROOT,mkret2/root,georgtroska/root,zzxuanyuan/root-compressor-dummy,arch1tect0r/root,sawenzel/root,mhuwiler/rootauto,gbitzes/root,Duraznos/root,Y--/root,abhinavmoudgil95/root,sawenzel/root,esakellari/root,gganis/root,nilqed/root,pspe/root,zzxuanyuan/root,evgeny-boger/root,gbitzes/root,gganis/root,arch1tect0r/root,dfunke/root,arch1tect0r/root,gganis/root,mattkretz/root,agarciamontoro/root,mhuwiler/rootauto,lgiommi/root,dfunke/root,bbockelm/root,sawenzel/root,abhinavmoudgil95/root,zzxuanyuan/root-compressor-dummy,simonpf/root,mattkretz/root,omazapa/root,esakellari/root,simonpf/root,omazapa/root-old,satyarth934/root,beniz/root,root-mirror/root,mkret2/root,sirinath/root,buuck/root,root-mirror/root,zzxuanyuan/root,sawenzel/root,perovic/root,perovic/root,buuck/root,omazapa/root-old,sirinath/root,simonpf/root,karies/root,bbockelm/root,vukasinmilosevic/root,nilqed/root,omazapa/root-old,gganis/root,mattkretz/root,beniz/root,omazapa/root-old,zzxuanyuan/root-compressor-dummy,smarinac/root,esakellari/root,satyarth934/root,gganis/root,buuck/root,zzxuanyuan/root-compressor-dummy,veprbl/root,sbinet/cxx-root,nilqed/root,gbitzes/root,Duraznos/root,bbockelm/root,pspe/root,Duraznos/root,sbinet/cxx-root,bbockelm/root,bbockelm/root,jrtomps/root,zzxuanyuan/root-compressor-dummy,krafczyk/root,mkret2/root,sawenzel/root,sawenzel/root,esakellari/root,sawenzel/root,simonpf/root,BerserkerTroll/root,karies/root,vukasinmilosevic/root,beniz/root,agarciamontoro/root,bbockelm/root,mattkretz/root,vukasinmilosevic/root,buuck/root,dfunke/root,BerserkerTroll/root,abhinavmoudgil95/root,BerserkerTroll/root,olifre/root,thomaskeck/root,vukasinmilosevic/root,karies/root,sirinath/root,zzxuanyuan/root,gganis/root,omazapa/root,BerserkerTroll/root,abhinavmoudgil95/root,mhuwiler/rootauto,mhuwiler/rootauto,0x0all/ROOT,zzxuanyuan/root-compressor-dummy,Duraznos/root,buuck/root,CristinaCristescu/root,veprbl/root,karies/root,simonpf/root,arch1tect0r/root,agarciamontoro/root,esakellari/root,omazapa/root,lgiommi/root,mhuwiler/rootauto,pspe/root,jrtomps/root,0x0all/ROOT,BerserkerTroll/root,Duraznos/root,lgiommi/root,smarinac/root,thomaskeck/root,mhuwiler/rootauto,buuck/root,omazapa/root-old,root-mirror/root,thomaskeck/root,jrtomps/root,gbitzes/root,smarinac/root,gbitzes/root,BerserkerTroll/root,sawenzel/root,veprbl/root,veprbl/root,buuck/root,gbitzes/root,esakellari/my_root_for_test,vukasinmilosevic/root,pspe/root,smarinac/root,mkret2/root,BerserkerTroll/root,smarinac/root,georgtroska/root,dfunke/root,Duraznos/root,beniz/root,jrtomps/root,Duraznos/root,georgtroska/root,evgeny-boger/root,sirinath/root,nilqed/root,pspe/root,buuck/root,evgeny-boger/root,georgtroska/root,omazapa/root-old,CristinaCristescu/root,perovic/root,satyarth934/root,dfunke/root,krafczyk/root,root-mirror/root,bbockelm/root,perovic/root,esakellari/my_root_for_test,evgeny-boger/root,smarinac/root,mkret2/root,sawenzel/root,zzxuanyuan/root-compressor-dummy,veprbl/root,jrtomps/root,vukasinmilosevic/root,vukasinmilosevic/root,zzxuanyuan/root,gganis/root,georgtroska/root,0x0all/ROOT,davidlt/root,zzxuanyuan/root,perovic/root,veprbl/root,omazapa/root,olifre/root,zzxuanyuan/root,esakellari/my_root_for_test,root-mirror/root,agarciamontoro/root,sirinath/root,mattkretz/root,root-mirror/root,nilqed/root,Y--/root,Duraznos/root,olifre/root,Duraznos/root,simonpf/root,esakellari/root,Duraznos/root,omazapa/root-old,esakellari/root,CristinaCristescu/root,sbinet/cxx-root,agarciamontoro/root,gganis/root,olifre/root,esakellari/my_root_for_test,esakellari/my_root_for_test,abhinavmoudgil95/root,root-mirror/root,Y--/root,krafczyk/root,mkret2/root,mkret2/root,davidlt/root,perovic/root,0x0all/ROOT,zzxuanyuan/root,georgtroska/root,lgiommi/root,davidlt/root,zzxuanyuan/root,nilqed/root,jrtomps/root,mattkretz/root,smarinac/root,bbockelm/root,gbitzes/root,arch1tect0r/root,Y--/root,simonpf/root,vukasinmilosevic/root,Y--/root,lgiommi/root,buuck/root,lgiommi/root,davidlt/root,lgiommi/root,karies/root,mhuwiler/rootauto,esakellari/root,omazapa/root-old,gbitzes/root,olifre/root,krafczyk/root,agarciamontoro/root,simonpf/root,CristinaCristescu/root,sbinet/cxx-root,sbinet/cxx-root,esakellari/my_root_for_test,jrtomps/root,agarciamontoro/root,davidlt/root,BerserkerTroll/root,mkret2/root,abhinavmoudgil95/root,arch1tect0r/root,satyarth934/root,jrtomps/root,esakellari/my_root_for_test,0x0all/ROOT,omazapa/root,CristinaCristescu/root,sbinet/cxx-root,pspe/root,sbinet/cxx-root,CristinaCristescu/root,bbockelm/root,mkret2/root,sirinath/root,pspe/root,karies/root,bbockelm/root,mhuwiler/rootauto,karies/root,thomaskeck/root,evgeny-boger/root,krafczyk/root,zzxuanyuan/root-compressor-dummy,krafczyk/root,pspe/root,zzxuanyuan/root,krafczyk/root,veprbl/root,gbitzes/root,sirinath/root,beniz/root,Y--/root,zzxuanyuan/root-compressor-dummy,zzxuanyuan/root,veprbl/root,CristinaCristescu/root,abhinavmoudgil95/root,perovic/root,perovic/root,satyarth934/root,beniz/root,agarciamontoro/root,omazapa/root-old,sirinath/root,abhinavmoudgil95/root,mkret2/root,evgeny-boger/root,root-mirror/root,sirinath/root,arch1tect0r/root,davidlt/root,karies/root,davidlt/root,mattkretz/root,nilqed/root,dfunke/root,jrtomps/root,dfunke/root,beniz/root,arch1tect0r/root,omazapa/root,simonpf/root,lgiommi/root,esakellari/root,dfunke/root,beniz/root,pspe/root,vukasinmilosevic/root,thomaskeck/root,dfunke/root,lgiommi/root,gbitzes/root,evgeny-boger/root,0x0all/ROOT,satyarth934/root,lgiommi/root,evgeny-boger/root,simonpf/root,lgiommi/root,zzxuanyuan/root-compressor-dummy,jrtomps/root,omazapa/root,omazapa/root-old,gganis/root,beniz/root,veprbl/root,olifre/root