The Greens have agreed to pass Labor's Help To Buy housing policy, after blocking it for months, and trying to improve the bill.