Vote followed a tumultuous confirmation fight that exposed deep concerns from Republicans as well as Democrats