Senate stamps $34 billion budget after two-day debate