Israel 's Labor party has voted to quit the ruling coalition of Prime Minister Ariel Sharon , paving the way for early national elections .