The splice is in the dryer or the box? If dryer, it's there for a reason...might wanna figure out why, though dryer breakers are not usually GFI, so... yeah.
Dryers are a mystery of the electrical code. They exist in nearly every residence so they must be addressed. Code changed. Dryers didn't fit. We only install to code but things like this leave it open to interpretation