Governments scrambled on Monday to limit the fallout from a release of millions of documents detailing how world leaders, powerful politicians, billionaires and others have used offshore tax havens to hide assets worth hundreds of millions of dollars.