On the stable classification of certain 4-manifolds