The hospital attributed the blunder to a “cognitive lapse” and a temporary loss of focus by the surgeon, whose identity has not been publicly released.