Plea deal reached for doctor charged in connection with Matthew Perry's death