Function to remove entity from world/systems