WASHINGTON—The Securities and Exchange Commission voted Wednesday to advance the biggest changes to U.S. stock-market rules since the mid-2000s, aiming to give small investors better prices on their trades and reduce some advantages enjoyed by high-speed trading firms. Democratic commissioners, who …