A Justice Department policy shift around the disclosure of possible wrongdoing uncovered in mergers and acquisitions reinforces the need for buyers to dive deep into a target’s compliance efforts, both before and after a deal closes, corporate advisers said.