expandGrpVar function

apply operator expansion (e.g. a/b -> a + a:b) to a formula term