That's "scapegoating".
All child-molestation is bad and banning homosexuals isn't going to stop all the child-molesting priests.
The Church can ban anyone who ever had a dog named "Spot" for all I care, but they need to tell me how they're going to deal with all child-molesters.