GlobalOpt: Be more aggressive about elminating side-effect free static dtors.