It is awkward because we are expecting "he" to be the subject in the second part, but it seems questionable to me whether it is strictly dangling. After all, "To improve the results, the experiment was done again" reads acceptably.
New words, one handy idiom, and a 2-minute quiz — delivered to your inbox to keep your streak alive.