Trump signs budget deal, government to reopen