Trench collapse investigated amid rise in incidents nationwide