An ALMA survey of the SCUBA-2 cosmology legacy survey UKIDSS/UDS field: the far-infrared/radio correlation for high-redshift dusty star-forming galaxies