Noncompetes were never a perfect way for companies to try to limit data loss, according to legal observers, who say an outright ban would force businesses to adopt more proactive measures.