A rescue deal for TGI Fridays has seen 51 restaurants acquired by new owners after the previous UK operator collapsed into administration.