Now, some of the other 29 states plus D.C. do have laws to penalize faithless electors, although these have never been enforced (& in lieu of penalizing a faithless elector, some states, such as Michigan & Minnesota (the latter of which invoked this law for the first time in 2016 when an elector pledged to Clinton attempted to vote for Bernie Sanders instead), specify that the faithless elector's vote is void & that a replacement elector will vote for the candidate whom the electors' party supports).
They should have filed lawsuits about this. If for no other reason than to get this cleared up by the courts. I agree it is probably unconstitutional to replace them after they have attempted to vote.