President Trump said it was his decision to invite representatives of the Taliban to peace talks the weekend before the 18th anniversary of the Sept. 11 attacks, and his decision to cancel the talks after an American solider was killed in Afghanistan.