A dense, solar metallicity ISM in the z = 4.2 dusty star-forming galaxy SPT 0418−47