I watche the Movie 5 times, and definitely Derpy saved Twilight on purpose.
She cries loudly: "Twilight! ", and puts herself courageously as a shield.
I think her act is the most important of the movie, for she not only saved Twilight, but also the whole story as well.