Chick wasn't ready to hatch. Probably needed another 12-24 hours to adsorb the yolk sac there. Intestines look like loops. After a pip, a chick will rest for anywhere from 6-24 hours before starting to get out. Sometimes they wait 48-72 hours if they pipped early and did not adsorb all their blood or yolk yet.
Don't worry, you're not the first and won't be the last to "help" a chick out.
Don't worry, you're not the first and won't be the last to "help" a chick out.