Unfold the μ-expression at the top-level of e. That is, assuming e = μx e′, returns e′[x ↦ μx e′].
Minimise e by μ-folding it as much as possible. This is done using a modified version of Hopcroft's algorithm for minimising a finite automaton.