Bipartisan budget agreement clears Congress