The visit comes as the president tries to contain a major corruption scandal in Ukraine’s energy sector.