Israel has agreed to free 170 Palestinian prisoners .