Texas dean quits, partly over state's new campus gun law