Measuring the redshift of standard sirens using the neutron star deformability