apply patch to redirect module to fix infinite loops

https://www.drupal.org/files/issues/redirect.circular-loops.1796596-146.
patch