Untwisting and Disintegration of a Solar Filament Associated with Photospheric Flux Cancellation