3,000 Ukrainians 'must leave' student accommodation by the end of August