UK pays 'substantial' compensation to Guantanamo inmate: lawyer