Fix up stale/missing link rels

Sets next/parent/prev as appropriate, and removes outdated rels.