PCF and infinite free subsets in an algebra