The judge’s decision brings to a close the latest prosecution of a parent for not doing more to prevent their child from committing mass violence.