Shutdown looms as legislators dicker