Minnesota’s slain Democratic leader saw liberal victories, then brokered a budget deal out of power