Deal reached on Gaza Strip border crossings