Tamil candidate shot dead ahead of polls