Washington state has agreed to pay $300,000 to an ex-prison inmate whose penis was consumed by a flesh-eating bacteria while he was behind bars.