Loop cut operator should only require OpenGL in interactive mode, this makes it possible to run background python script calling the operator. Thanks for the help from Campbell Barton (@ideasman42) Pull Request: https://projects.blender.org/blender/blender/pulls/112121