New law would compel LA hotels to give accommodation to the homeless