Future of Trident in doubt as ministers row over budget