Partial regularity for minimizers of degenerate polyconvex energies