Sweeping changes buried in housing bill called ‘doomsday scenario’ for Ontario’s endangered species