Semi-nilpotent ideals