The man accused of fatally stabbing a CTA janitor was on electronic monitoring, prosecutors alleged, a development that has prompted the Cook County state’s attorney’s office to call for reforms with the technology.