Lula wins a fourth term after a dramatic runoff marked by voting confusion and allegations of interference.