Stability analysis of a shear flow with strongly stratified viscosity