A woman died after a machine stopped working during heart surgery at the Royal Sussex County Hospital in Brighton.