Huddersfield will face Sheffield United in the League One Playoff final after beating MK Dons 3-2 on aggregate.