President Trump said he was willing to speak under oath to Robert S. Mueller III, the special counsel investigating Russia’s interference in the 2016 presidential campaign.