Melting of chiral order in terbium manganate (TbMnO3) observed with resonant x-ray Bragg diffraction