Gravitational collapse and formation of a black hole in a type II minimally modified gravity theory