Added workaround for bug where segfault would be caused if all atoms in system were added to alchemical region.
This caused a problem with group restrictions of CustomNonbondedForce segfaulting if any atomset is empty.