Local rigidity of certain partially hyperbolic actions of product type