Patient talked down man with bomb planning to kill nurses at St James's Hospital, jury told