Cairo hopes agreement will refocus attention on tragic conditions facing Palestinians in Gaza and West Bank