The Senate on Thursday voted to change the way millions of federal dollars designed to help educate poor children are divided among the states, a move that would give a boost to some states while reducing payments for others. The vote, by a 59 to 39 margin, came as an amendment to a larger bill to replace No Child …