Reducing slip boundary value problems from the half to the whole space. Applications to inviscid limits and to non-Newtonian fluids