Facebook Inc. has told employees it is tightening controls over some internal discussion groups, a move that comes after Frances Haugen, a former employee, gathered documents that formed the foundation of The Wall Street Journal’s Facebook Files series showing the company’s platforms are riddled with flaws that can cause harm.