Move group_2lib_check() et al. from Moggy to tactics/2lib.c