Aaron Rai took a share of the BMW PGA Championship first-round lead alongside Joakim Lagergren as Rory McIlroy "stumbled" after a strong start to finish three off the lead.