Many factors go into the continuing shortage of primary-care doctors, but they all boil down to simple economics.