Remove duplicate horizontal rules.