New documents show how Sandra Day O’Connor helped George W. Bush win the 2000 election