Graphs without proper subgraphs of minimum degree 3 and short cycles