The Sudanese military says it is working to "clean up the remaining rebel pockets" inside the capital of Gezira state.