splitForm function

Split formula containing special random effect terms