US President Donald Trump will sign an executive order on Friday that directs the Department of Defense to be known as the Department of War.