The Trump administration plans to offer a roughly $4-billion loan package to Vistra Corp. to upgrade three of its nuclear plants, according to people familiar with the matter.