Taliban fighters killed or captured an entire Afghan National Army company of more than 50 soldiers on Monday, Afghan officials said, the latest in a series of major attacks by the militant group even as it pursues a peace deal with the United States.