Video: Lawmakers reach bipartisan budget agreement with hours to spare