The IC Alain recommends, MC33064P5, is as simple as it gets. You still need to have some pass-thru device (transistor) between the supply and regulator, and the supervisor IC will enable/disable it based on the battery voltage. You can do the same with the MCU and external components (i.e. use MCU's comparator, external Vref, and pass-thru device).