The company behind 31 gyms has begun closing locations in Maryland and other states and is now working through bankruptcy.