Vote sees Netanyahu ally with Joint List to back parliamentary commission of inquiry into hiring discrepancies that have left many Arab teachers without jobs