How a legal blind spot could have kept Sri Lanka from arresting returning ISIS members