The Hamas militant group says it will release Israeli hostages as planned, apparently resolving a major dispute that has threatened the ceasefire in the Gaza Strip.