As rare talks were held in Jordan, a Palestinian gunman killed two Israelis in the occupied West Bank.