Invariant Bayesian inference in regression models that is robust against the Jeffreys–Lindley's paradox