Hamas considers shift to non-violent resistance, relocation to Egypt