Carl Icahn has reached a pact with Dell Inc. that allows him to look at the computer company’s books, the Wall Street Journal and Associated Press report.