Thermally induced magnetic order from glassiness in elemental neodymium