Capping a strikingly contentious confirmation process, the Senate is expected to vote as soon as Wednesday evening on the nomination of Mr. Sessions to be attorney general.