NBC: Trump signs funding bill into law, ending record-long government shutdown