Construction just prior to molting is typical of most stomatopods and O. scyllarus is no exception. They will usually modify the burrow, close one entrance and partially close the other, etc.
O. scyllarus eventually will eat all of their molt skin except the dactyls. Usually they bury the skin for a a day or two, then start on the soft parts - carapace, head appendages, etc. and finish with the telson and raptorial appendages. The soft parts are always eaten, but some times they leave the hard parts. This is a good source of calcium for them, so I usually do not remove the molt skin for a few days. However, if they don't eat it in three or four days, take it out since it will provide nutrients for algae.
I'm a bit worried that you said the animal is molting in parts. Hopefully you are just seeing the hard parts now and the soft ones have been eaten. Animals do occasionally get stuck in the old skin and appear to molt in pieces. This is generally fatal. Rarely does an animal survive if it doesn't shed its old skin a few minutes - often less than a couple of minutes.
Roy