Ringwood buying land to end court battle over high-density housing along Skyline Drive