Solitaire Clobber as an optimization problem on words