Israel’s military had been working to open the way for Kurdish forces to take up positions in Iran’s north-west.