To "tie up loose ends" in this context means that someone believes that gravitational waves could finally complete (the often argued about) string theory.
I think the phrase may be related to weaving. Once a cloth has been woven on a loom, the weaver must tie off the loose ends so that the cloth would not unravel.