The Transformation of a Semimetal into an Exciton Dielectric in a Strong Magnetic Field