This happens sometimes. A first time Mom might have this happen, maybe. It can be due to stress, or it can be a premature moult due to changes in parameters at an inopportune moment in the shrimp's pregnancy.
She should be able to berry again and carry normally. The eggs are not likely to hatch unless they were very, very close to hatching at the time she moulted. If you can see eyes, they may hatch, but I would not get my hopes up too much.