Under US mediation, the draft ties phased hostage swaps to expanded UN aid deliveries against a backdrop of famine warnings