Inefficient self-selection into education and wage inequality