President Donald Trump slammed the record of former Defense Secretary Jim Mattis, claiming the Pentagon chief's abrupt resignation was "essentially" a firing.