Leaseholders protected from unfair bills to make homes safe