redirect.py: handle CircularRedirect exception

Handle CircularRedirect exception in get_moved_pages_redirects().

Bug: 69370

Change-Id: I7aa11a88ee9b8f23a9b19edb1343da2ba5ae3378
Merge "redirect.py: handle CircularRedirect exception"