Minimal dissections of bordered manifolds