The city’s Panel for Educational Policy voted to close Brooklyn’s P.S. 25. Officials also postponed a vote to close M.S. 394, another school with dwindling enrollment.