Homer water sale to coal mine would be legal