The cheap weapons have helped the militants rearm despite the loss of a sponsor in Syria and the U.S.-Israeli war on Iran.