Variant-action independence of physical quantities in lattice gauge theories