With a narrow majority in the House and a 50-50 Senate, Democrats made significant progress on Biden’s agenda.