The Israeli prime minister says his country will not withdraw from Gaza until Hamas fully disarms, setting himself against a US-backed roadmap endorsed by the group.