President Trump ends US government shutdown by signing new bipartisan bill, reopening federal agencies after weeks of funding negotiations.