Almost 300,000 foreign care workers will be exempted from a crackdown which would have seen them waiting years longer to win permanent status in Britain.