McIlroy thought he had cost Europe chance of winning Ryder Cup