ERABAL: Enhancing Role-Playing Agents through Boundary-Aware Learning