Palestinian shot dead in alleged knife attack in West Bank