Greek finance minister resigns in blow to govt