Track worker killed after becoming ‘habituated’ to train warning horns