python list remove only if exists