Nearly 70 hostages facing “imminent mass execution” have been rescued from an Islamic State jail in a raid by Kurdish troops and US special forces in northern Iraq, according to US and Kurdish officials.