The Dirichlet Problem for Degenerate Hessian Equations