No functionality change:  logic/style cleanup on __uriToRedirect()

$run_redirect, a few levels of indent and "else" removed by being more liberal with "continue" and "return"