Maitland council says developer had approval to drain dam near subdivision