McIlroy struggles at Scottish Open