London will look at developing a maximum temperature bylaw to protect tenants from heat after a narrow decision and contentious debate from politicians.