Intelligence minister withdraws candidacy, apologizes as outcry snowballs over his remarks about trashing anonymous harassment complaints