Hamas victory debunks US policy in Mideast, Putin says