Gonzaga survived a second-half rally to beat No. 17 Kentucky 89-85, handing the Wildcats their third straight loss at Rupp Arena for the first time.