Algorithm reduces use of riskier antibiotics for UTIs