Observation of gauge invariance in a 71-site quantum simulator