Reductions of the stationary boundary layer equation with a pressure gradient