I don't understand why you would have bonds between
atoms that are a distance 40 apart. The delete_bonds
command will not be able to delete those unless you set
the cutoff to that very long distance, which you probably
don't want to do.
I suggest following Axel's suggestion and not forming
those bonds in the first place in your data file, if you
plan to delete them.
Steve