Charge ordering and heavy fermions in the semimetal Yb4As3