Evolution of Low-Mass Stars. I. Contraction to the Main Sequence