The move to withhold equipment and training opened a noteworthy rift with a strategically important partner in the fight against terrorism.