In his first solo news conference as president, Donald Trump returned to the swagger and bluster that marked his winning political campaign.