Production of three large-p⊥ jets in hadron-hadron collisions