Trump signs bill to reopen government after longest shutdown in US history