Monotonicity formula and $$\varepsilon $$ε-regularity of stable solutions to supercritical problems and applications to finite Morse index solutions