City Can Replace Beloved Park Near SoHo With Senior Housing, Judge Rules