Senate passage gives Trump a legislative victory on his first day back in the White House and jump-starts his sweeping agenda to curb illegal immigration.