Shuttered school will be redeveloped into 57 apartments for low- and moderate-income seniors