The British government has agreed to pay a substantial sum to settle a lawsuit by Abu Zubaydah, a Guantanamo Bay detainee.