Theory of a Symmetry-Breaking Phase-Transition in a Surface-Layer of Nematic Liquid-Crystal