If your dough is breaking up then you can add the egg to the mixture to avoid the breaking up of the cookies. It will hold the dough together and avoid the breaking of the cookies. The eggs also promote the spreading of the cookies.