Militants say they have released the remaining 23 hostages .