New research suggests that global efforts to stop foreign fighters joining armed groups in Iraq and Syria are failing.