A U.S. official says the Pentagon's watchdog agency has cleared Acting Defense Secretary Patrick Shanahan of wrongdoing in connection with allegations that he had used his official position to favor his former employer, Boeing Co.