A criminal investigation has been launched after a backlog of medical waste was allowed to build up at several disposal sites.