NBDI: A Simple and Efficient Termination Condition for Skill Extraction from Task-Agnostic Demonstrations