Three Palestinians attack Israelis in West Bank, shot dead: army