President Donald Trump will emerge from the longest government shutdown in U.S. history politically weakened, his reputation questioned and his signature campaign promise still glaringly unfulfilled.