In the sefer "Landlord-Tenant in Halacha" by Rabbi Baruch Meir Levin, dayan in Lakewood.
First he writes that you cannot evict a tenant, then he adds:
"Notwithstanding, in an event where the landlord stands to endure a substantial loss by the tenant remaining in the apartment, he may be halachically allowed to terminate the lease prematurely."