This is a common mistake when the person transfer but did not do it for dependent. She should leave US as soon as possible, if she leave US within 180 days, she can come back by H4 easily. Otherwise, I don't know what would happen, right now she is out of status.