Egypt races to salvage Gaza ceasefire as Israeli attacks and displacement threats push deal to the brink of collapse.