Doctor charged in death of Matthew Perry to appear in court after plea deal