Select a pattern in the pattern editor and press the "-" button in the editor. All the pattern instances of this pattern will be deleted at the same time. You can only delete patterns that are defined in the piece. To remove a pattern from a library, you need to open the piece that corresponds to this library and remove the pattern from there. Note that the effect on the pieces that use this library and pattern becomes unpredictable.