The government will halt visa routes for nationals from four countries who the home secretary says have "abused" the UK's generosity.