Israel has announced it is redeploying all its troops to "defensive positions" outside the Gaza Strip as its main objective of destroying terror tunnels has been achieved.