Iterate pdflatex until fixed point

Rerun pdflatex until section cross-references have settled down,
by checking the log file for messages like "LaTeX Warning: Label(s)
may have changed. Rerun to get cross-references right".