He needed to poop so badly that he almost broke the door from pounding on it with his fists.
Remember how 割る is "to divide"? Now you're learning the similar intransitive version. Instead of you doing the dividing, something just gets divided. This is to be divided.
The reading is shared with 割る.