US President Donald Trump admitted that the federal government shutdown hurt Republicans in Tuesday’s elections.