The failing happened at the Royal Gwent Hospital in Newport