Hunger-striking Palestine inmates cut deal with Israel