Sungjae Im held onto his lead at the Valspar Championship after rallying on the back nine to edge ahead of David Lipsky.