Dáil debates mortgage legislation bill