Wide-ranging “legacies of colonialism" investigation would look at the lasting impact of UK global rule overseas.