US President Donald Trump has signed a bill reopening the country’s government and ending a 69-hour partial shutdown.