Learning Degenerate Manifolds of Frustrated Magnets with Boltzmann Machines