remove entity from components index when removed