Senate narrowly passes 2018 budget, paving way for tax reform