The defense secretary also suggested in his testimony to a House panel that the use of the National Guard for homeland defense would expand under President Trump.