NextEra is buying into a data center leader at just the right time—and an attractive price given Dominion’s struggles in the past few years.