Porous media flow as the limit of a nonstrictly hyperbolic system of conservation laws