Yet sources said the Trump White House, while aware of its massive problem with leaks, is also aware of the need to employ measures to combat it that do not themselves stray over the line, as Nixon’s did, into illegality.