The embattled attorney general nominee appeared at Virginia Democrats’ big closing rally with former President Barack Obama.