the islands were named after irish slaves , known as westmen , who killed their captors in ad 840 and escaped briefly to these islands , until they were eventually hunted down and slaughtered , leaving behind only their names .