Two incumbent state representatives lose primary election