Pit tragedy threatens all underground mining in N.Zealand: PM