Mixed region collapse with internal wave generation in a density-stratified medium