Rahul undertakes first visit of UP after poll debacle