City council backs homebuyer loan program over affordable housing push