Afghan lawmakers approve chief justice