Massachusetts released lengthy guidelines for the retail businesses opening during Phase 2 of the state’s coronavirus reopening plan.