With almost all the votes counted, it looks like a blow for Vladmir Putin and his dirty tricks