Trump signs pandemic aid and spending bill, averting government shutdown