Fix MAGN-1903  Dynamo.Tests.CoreTests.ValidateConnectionsDoesNotClearError 

Originally, whenever ValidateConnections is called, if the node has no inputs, then the state of this node will be set as active even if the node has errors. In this submission, the state of the node will only be changed to active when its state is dead.