California State University San Marcos officials determined a professor’s interactions with female students violated school policies and state education code and moved to fire him. But after the professor’s employee union intervened, the school agreed to allow him to continue teaching.