Israel, Hamas agree on new exchange, leaving fragile ceasefire intact