With almost all the votes counted, it is a blow for Vladimir Putin and his dirty tricks