The US president says the first phase of the deal secures the exchange of Israeli hostages and Palestinian prisoners and the start of an Israeli withdrawal.