The special counsel, Robert S. Mueller III, is scrutinizing some of President Trump’s Twitter posts and public statements to determine whether he was trying to obstruct the Russia investigation. Mr. Trump’s lawyers say he was simply trying to defend himself, but several of the remarks, directed at Attorney General Jeff Sessions and the former F.B.I. director James B. Comey, came around the time the president was also privately pressuring the men about the inquiry.