Cape Cod Healthcare has come under fire from union nurses after announcing a decision to close one of its maternity and pediatric inpatient units during the coronavirus epidemic.