An Iranian cleric known for his role in condemning thousands of political prisoners to death in the 1980s will take the leadership of Iran’s powerful judiciary, in a move that is expected to keep the post under the influence of the country’s hard-liners.