redirect.py: preserve section anchors when fixing double redirects.

Change-Id: I13c7602979edda5016b46e808458037b425d4187
Merge "redirect.py: preserve section anchors when fixing double redirects."